package com.shop.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shop.dao.ShopDao;
import com.shop.po.Shop;
import com.shop.service.ShopService;
import java.util.List;

@Service("shopService")
public class ShopServiceImpl implements ShopService {
	// 注解注入ShopDao
	@Autowired
	private ShopDao shopDao;

	@Override
	public List<Shop> getGoodsList() {
		return shopDao.getGoodsList();
	}
}
